const { testFc, name } = require('./index.js');

describe(name, () => {
  test('case1', () => {
    expect(testFc('abcabcbb')).toBe(3);
  });

  test('case2', () => {
    expect(testFc('bbbbb')).toBe(1);
  });

  test('case3', () => {
    expect(testFc('pwwkew')).toBe(3);
  });

  test('case4', () => {
    expect(testFc(' ')).toBe(1);
  });

  test('case5 aab', () => {
    expect(testFc('aab')).toBe(2);
  });

  test('case6 qrsvbspk', () => {
    expect(testFc('qrsvbspk')).toBe(5);
  });
});
